#ifndef WATCHDIINSTRUCTION_H
#define WATCHDIINSTRUCTION_H
#include <QString>



enum E_WATCHDI_TYPE
{
    E_WATCHDI_TYPE_TIME,
    E_WATCHDI_TYPE_COUNTER
};
class WatchDIInstruction
{
public:
    WatchDIInstruction();

public:
    E_WATCHDI_TYPE    watchDITyde;//等待類型
    QString dISwitch;
    QString dOSwitch;
    int dIIndex;      //ＤＩ數字編號
    int dOIndex;      //ＤＯ数字编号
    double watchTime; //等待时间
    int counterIndex; //计数器编号
    QString comment;

};

#endif // WATCHDIINSTRUCTION_H
